﻿@model Domain.PrinterCounter
<div class="ui-corner-all dashboard-item" >
        <div class="ui-widget-header ui-helper-clearfix ui-corner-all dashboard-header">Printer Counter statistic</div>
        @if (Model != null)
          {
        <p class="sub-head">Last entry at [@Model.Date.ToString()]</p>
        <p><label>Color:</label><label> @Model.ColorCounter</label></p>
        <p><label>Black:</label><label> @Model.BlackCounter</label></p>
        }else{
          <p class="sub-head">There is no entries</p>
        }
        <p class="sub-head">Actions</p>
        <p>@Html.ActionLink("History", "Counters") | 
        @Html.ActionLink("Add new entry", "AddCounterEntry",null, new { @class = "icon-link create-link" })</p>
        
    </div>
